<p id="notice"><%= notice %></p>

<p>
  <b>Title:</b>
  <%= @item.title %>
</p>

<p>
  <b>Number:</b>
  <%= @item.number %>
</p>

<p>
  <b>Yearofpurchase:</b>
  <%= @item.yearOfPurchase %>
</p>

<p>
  <b>Category:</b>
  <%= @item.category.name %>
</p>

<p>
  <b>Notes:</b>
  <%= @item.notes %>
</p>


<%= link_to 'Edit', edit_item_path(@item) %> |
<%= link_to 'Back', items_path %>
